package com.zzh.netty.nettyChat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * @PackageName:com.zzh.netty.nettyChat
 * @ClassName:CatClientHandler
 * @Description:
 * @author:zhangzhanheng
 * @date: 2021/2/2 12:04
 */
public class CatClientHandler extends ChannelInboundHandlerAdapter {
    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        System.out.println(msg.toString().trim());
    }
}
